﻿namespace LightCAD.Core.Elements
{
    /// <summary>
    /// 图框引用
    /// </summary>
    public class LcDrawing : LcBlockRef
    {
        public LcDrawingFrame DrawingFrame
        {
            get
            {
                return this.Block as LcDrawingFrame;
            }
        }
        private LcBasePoint? buildingBasePoint;
        private LcAxisGrid axisGrid;
        private List<LcElement> elements;

        public void ResetContent()
        {
            this.elements = null;
            this.buildingBasePoint = null;
            this.axisGrid = null;
        }
        public LcBasePoint GetBasePointElement()
        {
            return null;
        }

        public LcAxisGrid GetAxisGridElement()
        {
            return null;
        }

        public LcDrawing()
        {
            this.Type = BuiltinElementType.Drawing;
        }
        public LcDrawing(LcDrawingFrame block) : this()
        {
            this.Block = block;
        }
       
    }
}
